<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.app.service.vo.UserVo"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'main-role.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>
	<%
		UserVo vo = (UserVo) request.getAttribute("uservo");
	%>
	<body>
		<form action="<%=request.getContextPath()%>/admin/edituser.form"
			method="post">
			<table style="font-family: arial, 宋体; font-size: 12px;" width="100%"
				cellpadding="0" cellspacing="0">
				<tr>
					<td>
						用户名
					</td>
					<td>
						<input type="text" name="username" value="<%=vo.getUsername()%>" />
					</td>
					<td>
						密码
					</td>
					<td>
						<input type="text" name="password" value="<%=vo.getPassword()%>" />
					</td>
				</tr>
				<tr>
					<td>
						用户真实姓名
					</td>
					<td>
						<input type="text" name="name" value="<%=vo.getName()%>" />
					</td>
					<td>
						用户电话
					</td>
					<td>
						<input type="text" name="telent" value="<%=vo.getTelent()%>" />
					</td>
				</tr>

				<tr>
					<td>
						邮箱
					</td>
					<td>
						<input type="text" name="email" value="<%=vo.getEmail()%>" />
					</td>
					<td>
						QQ
					</td>
					<td>
						<input type="text" name="qq" value="<%=vo.getQq()%>" />
					</td>
				</tr>
				<tr>
					<td colspan="4">
						<input type="hidden" name="id" value="<%=vo.getId()%>" />
						<p>
							<input type="submit" value="修改用户" />
							&nbsp;&nbsp;
							<a
								href="<%=request.getContextPath()%>/admin/delete.form?userid=<%=vo.getId()%>">删除用户</a>
							<a href="<%=request.getContextPath()%>/admin/manageUser.form">显示所有用户信息</a>
						</p>
					</td>

				</tr>
			</table>
		</form>
	</body>
</html>
